package com.lphj.datainterface.service.impl;

import com.lphj.datainterface.dao.CumOrderDao;
import com.lphj.datainterface.entity.CumOrder;
import com.lphj.datainterface.service.CumOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CumOrderServiceImpl implements CumOrderService {

    @Autowired
    CumOrderDao cumOrderDao;

    @Override
    public CumOrder getCumOrderByPaperNO(String paperNO) {
        return cumOrderDao.GetCumOrderByPaperNO(paperNO);
    }

    @Override
    public String getCumOrderByNote(String note) {
        return cumOrderDao.GetCumOrderByNote(note);
    }

    @Override
    public int addCumOrder(CumOrder cumOrder) {
        return cumOrderDao.AddCumOrder(cumOrder);
    }
}
